import Carousel from "./swiper/Carousel.js";






var list=[
    {img:"../img/index/banner1.jpg"},{img:"../img/index/banner2.jpg"},{img:"../img/index/banner3.jpg"}]

var carousel=new Carousel(list);
carousel.appendTo(".bannerlist");




// var bn=document.querySelector("button");
// bn.addEventListener("click",function(){
//     carousel.setData(arr);
// })
